package ${model.packageName}.${model.modulePackage}.service;

import com.okrsoa.commons.base.IBaseService;
import com.okrsoa.commons.model.DataGrid;
import com.okrsoa.commons.model.PageParam;
import ${model.packageName}.${model.modulePackage}.bean.${model.model};
import java.util.Map;
/**
* ${model.model}Service: ${model.comment} 业务服务层接口
* @author ${model.author}  ${date}
*/
public interface I${model.model}Service extends IBaseService {
		/**
	 * 查找
	 * @param ${model.modelL}
	 * @param param
	 * @return
	 */
     public DataGrid selectQuery(Map<String, Object> params ,${model.model} ${model.modelL},PageParam param);
     /**
      * 查找 总条数
      * @param ${model.modelL}
      * @return
      */
     public Long selectCount(Map<String, Object> params,${model.model} ${model.modelL});
     /**
      * 批量删除
      * @param ids
      * @return
      */
     public boolean delete(String[] ids);
      /**
      * 添加
      * @param ${model.modelL}
      * @return
      */
     public String save(${model.model} ${model.modelL});
     /**
      * 修改
      * @param ${model.modelL}
      * @return
      */
     public String update(${model.model} ${model.modelL});
     
      /** 保存，包含添加修改
      * @param ${model.modelL}
      * @return
      */
     public String saveOrUpdate(${model.model} ${model.modelL});
}
